<?php

use Illuminate\Routing\Router;

Admin::registerAuthRoutes();

Route::group([
    'prefix'        => config('admin.route.prefix'),
    'namespace'     => config('admin.route.namespace'),
    'middleware'    => config('admin.route.middleware'),
], function (Router $router) {

    $router->get('/', 'HomeController@index');
    $router->resources([
        'articles'              => Articles\AllArticleController::class,
        'countries'              => CountryController::class,
        'coupons'              => CouponController::class,
        'modules'              => ModuleController::class,
        'airports'              => AirportController::class,
        'services'              => ServiceController::class,
        'push'              => PushController::class,
        'purchase'              => Purchases\PurchaseController::class,
        'purchase_type'              => Purchases\PurchaseTypeController::class,

    ]);

});
